<div id="texte">
<?php
if (!empty($_GET["page"])){
	$page=$_GET["page"];}
	else
	{$page=0;
	}
switch ($page) {
//
// Personnes
//

    case 0:
        // inclure ici la page accueil photo
        include_once('pages/accueil.inc.php');
        break;
    case 1:
        include("pages/detail.inc.php");
        break;
    case 2:
        include("pages/contactPropri.inc.php");
        break;

    case 9:
        include("pages/connexion.inc.php");
        break;
    case 10:
        include("pages/deconnexion.inc.php");
        break;

    case 11:
        // inclure ici la page...
        break;

    case 12:
        // inclure ici la page...
        break;

    case 100:
         include("pages/accueilGestion.inc.php");
         break;

    //ajouts

    case 101:
        include("pages/addPropri.inc.php");
        break;
    case 102:
        include("pages/addImmeu.inc.php");
        break;
    case 103:
    include("pages/addLoc.inc.php");
        break;
    case 104:
        include("pages/addLoca.inc.php");
        break;

    //listage

    case 105:
        include("pages/listPropri.inc.php");
        break;
    case 106:
        include("pages/listImmeu.inc.php");
    break;
    case 107:
        include("pages/listLoc.inc.php");
        break;
    case 108:
        include("pages/listLoca.inc.php");
        break;
    case 109:
        include("pages/listPers.inc.php");
        break;
    case 110:
        include("pages/addCharge.inc.php");
        break;
    case 116:
        include("pages/addPers.inc.php");
        break;
// detail
    case 111:
        include("pages/detailPropri.inc.php");
        break;
    case 112:
        include("pages/detailImmeu.inc.php");
        break;
    case 113:
        include("pages/detailLoc.inc.php");
        break;
    case 114:
        include("pages/detailLoca.inc.php");
        break;
    case 115:
        include("pages/chargementPhotoSup.inc.php");
        break;

    case 117:
        include("pages/detailPers.inc.php");
        break;
    case 118:
        include("pages/detailCharge.inc.php");
        break;
    case 119:
        include("pages/errMsg.inc.php");
        break;
/*
 * Finance
 * */
    case 200:
        include("pages/accueilFinance.inc.php");
        break;
    case 201:
        include("pages/appelLoyer.inc.php");
        break;
    case 202:
        include("pages/listeLoyer.inc.php");
        break;
    case 203:
        include("pages/relanceLoyer.inc.php");
        break;
    case 210:
        include("pages/addAppel.inc.php");
        break;
    case 211:
        include("pages/acquitterLoyer.inc.php");
        break;
    case 212:
        include("pages/listeLoyerLoca.inc.php");
        break;
    case 213:
        include("pages/listeLoyerLoca.inc.php");
        break;
    case 214:
        include("pages/detailLoyer.inc.php");
        break;


    default : 	include_once('pages/accueil.inc.php');
}
	
?>
</div>
